﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NVR.IDAL
{
    public interface IDALDeviceInfo
    {
        int Insert(Entity.DeviceInfo obj);
        int Update(Entity.DeviceInfo obj);
        int Delete(Entity.DeviceInfo obj);
        List<Entity.DeviceInfo> LoadAll();
        Entity.DeviceInfo LoadById(Guid DeviceInfoID);
        List<Entity.DeviceInfo> LoadBySn(string sn);

        List<Entity.DeviceInfo> PartPageFunc(int pageCurrent, int pageSize,out int counts,out int pageNums);

        List<Entity.DeviceTable> QueryListUserInfoFKUsername_DVRInfoFKSn_DeviceInfo(string sn);
    }
}
